package com.springcloud1.consumer.microservice;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("provide")
public interface Provide {

    @GetMapping("/user/{name}")
    public String hello(@PathVariable String name);
}
